import request from '@/utils/request'

import variable from '@/utils/variables'
const baseURL = variable.URL.baseURL

// 添加会员发票信息
export function addInvoice(params) {
	return request({
	    baseURL: baseURL,
	    url: '/member/invoice/insert_invoice',
	    method: 'POST',
	    params: params
	})
}

// 获得会员发票列表
export function getInvoice() {
	return request({
	    baseURL: baseURL,
	    url: '/member/invoice/list',
	    method: 'GET'
	})
}
